export interface IOrderItem {
    createBy?: string;
    createTime?: string;
    updateBy?: string;
    updateTime?: string;
    search?: any;
    rangeTime?: any;
    id?: string;
    type?: number;
    state?: number;
    uid?: string;
    userNickname?: string;
    userAvatar?: string;
    shopId?: string;
    shopName?: string;
    shopAvatar?: string;
    orderAmount?: number;
    actualAmount?: number;
    taxAmount?: number;
    freightAmount?: number;
    reduceAmount?: number;
    prodName?: string;
    num?: number;
    isPayed?: boolean;
    payMethod?: number;
    transactionId?: any;
    deliveryType?: any;
    logisticsNo?: string;
    orderAddressId?: string;
    isReceiving?: boolean;
    isAutoReceiving?: boolean;
    isAutoCancel?: boolean;
    payTime?: string;
    deliveryTime?: any;
    receivingTime?: any;
    completeTime?: any;
    cancelTime?: any;
    userCouponId?: any;
    userPromoCodeId?: any;
    couponAmount?: number;
    promoCodeAmount?: number;
    source?: number;
    closeType?: any;
    remark?: string;
    delFlag?: boolean;
    orderItems?: any;
    orderAddress?: any;
    orderItemList?: any;
    user?: User;
}

interface User {
    userId: string;
    username: string;
    password: string;
    phone: string;
    avatar: string;
    nickname: string;
    name: string;
    email: string;
    createBy: string;
    updateBy: string;
    createTime: string;
    updateTime: string;
    delFlag: string;
    tenantId: string;
    lastModifiedTime?: any;
    lockFlag: string;
    wxOpenid: string;
    code?: any;
    birthday?: any;
    gender?: any;
    lang?: any;
    timezone?: any;
    balance: number;
    inviteId?: any;
    invitationCode?: any;
    source: number;
    isNewUser: boolean;
    isFactory: boolean;
    registerTime?: any;
    registerIp?: any;
    loginTime?: any;
    loginIp?: any;
}